<?php


namespace app\api\controller;


class SiteController
{
    public function return_msg($code,$msg,$data=[])
    {
        return json_encode(['code'=>$code,'msg'=>$msg,'data'=>$data],JSON_UNESCAPED_UNICODE);
    }
}